<?php use application\Comm\Func;?>
<div class="bjui-pageContent">
    <form action="<?php echo Func::createUrl('designer/createdo')?>" id="addForm" class="pageForm" data-toggle="validate"
          data-reload-navtab="true">
        <table class="table table-condensed table-hover" width="100%">
            <tbody>
            <tr>
                <td colspan="2">
                    <label class="control-label x100">名称：</label>
                    <input id="name" type="text" name="info[name]" value="" size="60" data-rule="required;"/>
                </td>
            </tr>
            <?php $this->renderPartial('common/upload_one', []);?>

            <tr>
                <td colspan="2">
                    <label class="control-label x100">描述：</label>
                    <textarea name="info[description]" style="width:784px;height:50px" data-toggle="autoheight"></textarea>
                </td>
            </tr>

            <tr>
                <td colspan="2">
                    <label class="control-label x100">状态：</label>
                    <select name="info[status]" data-toggle="selectpicker" data-width="300">
                        <option value="0">隐藏</option>
                        <option value="1">显示</option>
                    </select>
                </td>
            </tr>

            </tbody>
        </table>
    </form>
</div>

<div class="bjui-pageFooter">
    <ul>
        <li>
            <button type="button" class="btn-close" data-icon="close">关闭</button>
        </li>
        <li>
            <button type="submit" class="btn btn-blue" data-icon="save">保存</button>
        </li>
    </ul>
</div>